package com.gdufe.seckill;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication(scanBasePackages = {"com.gdufe.seckill", "com.gdufe.common","com.gdufe.product"})
@EnableFeignClients(basePackages = "com.gdufe.common.feign")
@EnableDiscoveryClient
public class MallSeckillApplication {
    public static void main(String[] args) {
        SpringApplication.run(MallSeckillApplication.class);
    }
}
